package homework;

/**
 * @ClassName B
 * @Description TODO
 * @Author hp
 * @Date 2021/6/15 18:26
 * @Version 1.0
 **/
public class B extends A{
    float a = 3.0f;
    String d = "Java program.";

    void show() {
        super.show();
        System.out.println("Class B: a=" + a + "\td=" + d);
    }
}
